package cn.iocoder.yudao.module.system.controller.admin.merchant.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * @author 梁富贵
 * @Date 2024/10/9
 **/
@Schema(description = "管理后台 - 商家列表获取 Request VO")
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MerchantReqVO extends PageParam {
    @Schema(description = "用户账号，模糊匹配", example = "yudao")
    private String merchantName;

    @Schema(description = "商家logo", example = "yudao")
    private String logo;

    @Schema(description = "手机号码，模糊匹配", example = "yudao")
    private String contactPhone;

    @Schema(description = "商家类型", example = "1")
    private Integer merchantIdentity;

    @Schema(description = "商家状态", example = "1")
    private Integer status;

    @Schema(description = "法人代表", example = "梁")
    private String legalRepresentative;


    @Schema(description = "创建时间", example = "[2022-07-01 00:00:00, 2022-07-01 23:59:59]")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private String[] createTime;


}
